import requests

# resp=requests.get(url="http://127.0.0.1/index.php/Home/Goods/search.html?q=iphone ")
# print(resp.text)

resp1=requests.get(url="http://127.0.0.1/index.php/Home/Goods/search.html",
                   params={"q":"iphone"})
print(resp1.text)